<?php
namespace Home\Controller;
use Think\Controller;
use Think\View;

class CommonController extends Controller
{
    public function _initialize()
    {
        if (!session('?flag')) {
            $this->error('请您先登录！','../index',1);
        }
    }


}



